<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="http://cdn.staticfile.org/react/0.0.0-0c756fb-f7f79fd/cjs/react.development.js"></script>
</head>

<body>
    <button>GET</button>
    <button>POST</button>
    <script>
        $(function() {
            // 1.测试get接口
            $('#btnGET').on('click', function() {
                $.ajax({

                })
            })

        })
    </script>
</body>

</html>